package com.dao;

import com.bean.OrderItem;

import java.util.List;
import java.util.Map;

public interface OrderItemDao {

   public int saveOrderItem(OrderItem orderItem);

   public List<OrderItem> showMyOrderItem(String orderid);

   public OrderItem getOrderItem(Integer id);

   public List<OrderItem> showMyOrderItems(String enterpriseid);

   public int updateOrderItem(Integer id);

   public List<OrderItem> showOrderItemByStatus(Integer status);

   public int receiveOrderItem(Integer id);

   public List<Map<String, Object>> showOrderItem(String orderid);

   public List<Map<String, Object>> queryUserid(String userid, Integer status);

    public int updateStatus(Integer id);

   public List<Map<String, Object>> queryStatus(Integer status, String enterpriseid);
}
